<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=a0371cbd0818144eedf0dbdacbf4c9f4"></script>
<body>
    <div :style="{color:color}">我是首页</div>
    <a href="./second.html">点我跳转</a>
</body>
</html>
<script></script>
<script>
    // m model v view c counter
    // let color = 'red';
    // let dom = document.querySelectorAll('div')[0];
    // dom.style.color = color;
</script>